From: Robert Mader Date: Tue, 5 Mar 2019 22:45:44 +0000 (+0100) Subject: calendar-server: Add gnu_printf format attribute X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~258 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2b1d6e607f957ea07314df244169f895410fd21f;p=gnome-shell.git calendar-server: Add gnu_printf format attribute Suggested by compiler with `-Wsuggest-attribute=format` https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/441 --- diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c index 9b76fb073..2ad8fb99e 100644 --- a/src/calendar-server/gnome-shell-calendar-server.c +++ b/src/calendar-server/gnome-shell-calendar-server.c @@ -1078,7 +1078,7 @@ main (int argc, /* ---------------------------------------------------------------------------------------------------- */ -static void +static void __attribute__((format(printf, 1, 0))) print_debug (const gchar *format, ...) { gchar *s;